﻿// PDFsharp - A .NET library for processing PDF
// See the LICENSE file in the solution root for more information.

namespace PdfSharp.Internal
{
#if DEBUG
    /// <summary>
    /// Internal class to calculate the PDFsharp build version.
    /// </summary>
    class BuildInformation
    {
        /// <summary>
        /// The day we start counting.
        /// </summary>
        public const string VersionReferenceDate = "2005-01-01";

        /// <summary>
        /// The PDFsharp build version used as fourth value in AssemblyFileVersion.
        /// Must be set in gitversion.yml.
        /// </summary>
        public static int BuildVersionNumber = (DateTime.Now - new DateTime(2005, 1, 1)).Days;
    }
#endif
}
